package com.small.nine.wxmp.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微信配置类
 *
 * @author sheng_zs@126.com
 * @date 2021-08-02 15:51
 */
@Getter
@Setter
@Configuration
@ConfigurationProperties("wx.mp")
public class WxConfig {
    /**
     * 微信公众号 ID
     */
    private String appID;

    /**
     * 微信公众号 appSecret
     */
    private String appSecret;

    /**
     * token
     */
    private String token;

    /**
     * 微信公众号 aes 解密私钥<br>
     *
     * 43位字符，字符范围为A-Z，a-z，0-9
     */
    private String encodingAesKey;
}
